This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~Tanita Nimluterli 26.Nov.03 10:34 AM a Web browser Domino Server6.0.1iSeries
Hi there!
I create contracts.nsf (for web users only) with contracts form which contains contracts information. Every document has unique contract id, so i add input validation @formula for ID field:
fID:=@DbLookup("":"NoCache";@ServerName:@WebDbName;"contracts view";@thisvalue;1;[FailSilent]);
@if(@IsNewDoc&fID!=""; @Failure("Contract whith this ID allready exists in DB!");@Success)
When form is opened for new documents ID field will appear for filling, when doc is opened for modifying, ID will disappears and computed text will show content of ID field. So user could only first time fill that field.
It is working perfectly....
I try to fill same contract with a same ID two times, ups message "Contract whith this ID allready exists in DB!".
BUT yesterday users called to me and said "Hey i found two contracts with same ID, which of them is mine...". I found some documents in DB with duplicate IDs. I tried to fill duplicate data through browser but validation is working.
I have analyzed all duplicate data:
1.All duplicate documents has only one copy (not two, not three);
2.Copy of duplicate has same data and same created date as originall;